package com.zmj.framework.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zmj.framework.bean.ProductIn;
import com.zmj.framework.dao.ProductInDao;
import com.zmj.framework.service.ProductInManager;
@Service("productInManager")
public class ProductInManagerImpl implements ProductInManager {
	@Autowired
	private ProductInDao productInDao;
	public ProductIn getProductInById(String id) {
		return productInDao.getProductInById(id);
	}

	public List<ProductIn> getAllProductInListBySpbh(String spbh) {
		return productInDao.getAllProductInListBySpbh(spbh);
	}

	public int saveProductIn(ProductIn productIn) {
		return productInDao.saveProductIn(productIn);
	}

}
